package com.football.springboot.service;

import com.football.springboot.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 李越
 * @since 2023-02-13
 */
public interface IRoleService extends IService<Role> {
    //角色绑定菜单编辑保存
    void setRoleMenu(Integer roleId, List<Integer> menuIds);

    //查看角色绑定的菜单
    List<Integer> getRoleMenu(Integer roleId);
}
